import { forwardRef } from "react"
export default forwardRef(({ visible }: any, ref: any) => {
  return <div ref={ref} className="dialog" style={{ display: visible ? "block" : "none" }}>
    <p>我是弹窗</p>
    <p>我是弹窗</p>
    <p>我是弹窗</p>
    <p>我是弹窗</p>
  </div>
})